package edu.fdzc.system.service;

import com.github.pagehelper.PageInfo;
import edu.fdzc.system.entity.Course;

import java.util.List;

public interface CourseService {
    void add(Course course);

    void updateById(Course course);

    void deleteById(Integer id);

    void deleteBatch(List<Integer> ids);

    Course selectById(Integer id);

    List<Course> selectAll(Course course);

    PageInfo<Course> selectPage(Course course, Integer pageNum, Integer pageSize);
}
